<div id="mlay" class="mlay" onclick="return false;">
	
<div class="mlay_item" style="background-image:url()" for_folder="yes" onclick='open_selected_file();' >
	<span>{M_OPEN}</span>
</div>

<div class="mlay_item" for_folder="yes" for_file="yes" for_none='yes' style="background-image:url({images}/download.gif)" onclick='download();' >
	<span>{M_DOWNLOAD}</span>
</div>

<div class="mlay_item" style="" for_file="yes" id="menu_to_lock" onclick='lock();' >
	<span>{M_LOCK}</span>
</div>


<div class="mlay_item" style="" id="menu_to_unlock" onclick='unlock();' >
	<span>{M_UNLOCK}</span>
</div>

<div class="mlay_item" style="display:{select}"  for_all='yes' onclick='allcheck();'>
	<span>{M_ALL_SELECT}</span>
</div>
<div class="mlay_item" style="display:{select}" for_all='yes' onclick='inverse();' >
	<span>{M_INVERSE}</span>
</div>

<hr />

<div class="mlay_item" style="display:{move};background-image:url({images}/cut.gif)" for_all='yes' onclick='filecopy("cut");' >
	<span>{M_CUT}</span>
</div>
<div class="mlay_item" style="display:{copy};background-image:url({images}/copy.gif)" for_all='yes'  onclick='filecopy("copy");'  >
	<span>{M_COPY}</span>
</div>
<div class="mlay_item" style="display:{paste};background-image:url({images}/paste.gif)" for_all='yes'  onclick='filepaste();' >
	<span>{M_PASTE}</span>
</div>

<hr />

<div class="mlay_item" style="" for_file='yes' for_folder='yes'  onclick='filerename();'>
	<span>{M_RENAME}</span>
</div>

<div class="mlay_item" for_all='yes' style="background-image:url({images}/delete.gif)"  onclick='filedel();'>
	<span>{M_DELETE}</span>
</div>


<!--<div class="mlay_item"  for_file="yes" for_files='yes'  style="background-image:url({images}/array.gif);background-position:100% 50%;"  child_menu="revert_to_menu">-->
<div class="mlay_item"  for_file="yes" style="background-image:url({images}/array.gif);background-position:100% 50%;"  child_menu="revert_to_menu">
	<span>{M_REVERT_TO}&nbsp;&nbsp;&nbsp;</span>
</div>

<div class="mlay_item"  style="" for_file='yes' onclick='get_log();'>
	<span>{M_GET_LOG}</span>
</div>


</div>
<!--  end of mlay -->

<div class="mlay child_menu" id="revert_to_menu" style="position:absolute;z-index:3001;display:none;">
	<!--div class="mlay_item" style="" for_all='yes' onclick="revert(1)">
		<span>{M_REVERT_ONE_DAY}</span>
	</div>
	<div class="mlay_item" style="" for_all='yes'  onclick="revert(3)">
		<span>{M_REVERT_THREE_DAY}</span>
	</div>
	<div class="mlay_item" style=""  for_all='yes' onclick="revert(7)">
		<span>{M_REVERT_ONE_WEEK}</span>
	</div-->
	<div class="mlay_item" style=""  for_all='yes' onclick="revert(false)">
		<span>{M_REVERT_INPUT}</span>
	</div>
	<div class="mlay_item" style=""  for_all='yes' onclick="revert(-1)">
		<span>{M_REVERT_PRE}</span>
	</div>
	<div class="mlay_item" style=""  for_all='yes' onclick="revert('latest')">
		<span>{M_REVERT_LATEST}</span>
	</div>
</div>
